Detection Of Network And Sensor Cyber-Attacks In Platoons Of Cooperative Autonomous Vehicles